home *** CD-ROM | disk | FTP | other *** search
/ ADA Programming Guide / ADA Programming Guide.iso / ada_gnu / adainc / a-string.ads < prev    next >
Text File  |  1996-01-30  |  2KB  |  33 lines

  1. ------------------------------------------------------------------------------
  2. --                                                                          --
  3. --                         GNAT RUNTIME COMPONENTS                          --
  4. --                                                                          --
  5. --                          A D A . S T R I N G S                           --
  6. --                                                                          --
  7. --                                 S p e c                                  --
  8. --                                                                          --
  9. --                            $Revision: 1.6 $                              --
  10. --                                                                          --
  11. -- This specification is adapted from the Ada Reference Manual for use with --
  12. -- GNAT.  In accordance with the copyright of that document, you can freely --
  13. -- copy and modify this specification,  provided that if you redistribute a --
  14. -- modified version,  any changes that you have made are clearly indicated. --
  15. --                                                                          --
  16. ------------------------------------------------------------------------------
  17.  
  18. package Ada.Strings is
  19. pragma Pure (Strings);
  20.  
  21.    Space      : constant Character      := ' ';
  22.    Wide_Space : constant Wide_Character := ' ';
  23.  
  24.    Length_Error, Pattern_Error, Index_Error, Translation_Error : exception;
  25.  
  26.    type Alignment  is (Left, Right, Center);
  27.    type Truncation is (Left, Right, Error);
  28.    type Membership is (Inside, Outside);
  29.    type Direction  is (Forward, Backward);
  30.    type Trim_End   is (Left, Right, Both);
  31.  
  32. end Ada.Strings;
  33.